package com.bbcare.followup.plat.store.ibatis;

import java.util.List;
import java.util.Map;

import com.bbcare.followup.plat.entity.PtEvaluationManualGuide;
import com.bbcare.followup.plat.entity.PtEvaluationOrder;

/**
 * 
 * @name:         随访评测服务持久层dao
 * @author:       tao
 * @createTime:   2017年4月24日
 * @description:  IFamilyReportDAO.java
 * @modify:
 *
 */
public interface IEvaluationWorkOrderDAO {
	//保存月度评估工单记录
	int savePtEvaluationOrder(PtEvaluationOrder guide)throws Exception;
	
	//查询月度工单记录
	List<Map<String,Object>> selectEvaluaTionOrderList(Map<String,Object> paramMap) throws Exception;
	
	//查询月度工单总数
	int selectEvaluaTionOrderCount(Map<String,Object> paramMap) throws Exception;
	
	//查询月度工单记录基本详情
	Map<String,Object> selectEvaluaTionOrderDetail(Map<String,Object> paramMap) throws Exception;
	
	//根据工单id查询评估记录
	List<Map<String,Object>> selectGrowthDetailByOrderId(Map<String,Object> paramMap) throws Exception;
	List<Map<String,Object>> selectEvaluaTionDetailByOrderId(Map<String,Object> paramMap) throws Exception;
	
	//查找月度评估 指导信息
	List<Map<String,Object>> selectEvaluaTionManualGuide(Map<String,Object> paramMap) throws Exception;
	
	int saveBatchPtEvaluationMunualGuide(List<PtEvaluationManualGuide> guides)throws Exception;
	//修改指导意见
	int updatePtEvaluationMunualGuide(Map<String,Object> paramMap) throws Exception;
	
	int updateEvaluaTationOrder(Map<String,Object> paramMap) throws Exception;
	
	List<Map<String,Object>> queueEvaluationDoctors(Map<String,Object> paramMap) throws Exception;
}
